home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 24 / Amiga Format AFCD24 (Feb 1998, Issue 108).iso / -in_the_mag- / emulation / amiga / uae-0.7.0b2 / src / filesys.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1998-01-20  |  368b  |  8 lines

  1. #! /bin/sh
  2. # Script to convert an Amiga executable named filesys into a series of
  3. # dw(...) statements.
  4. # This assumes that the first four lines only contain hunk information.
  5. # That is what you get if you assemble/link with a68k/blink
  6. od -v -t xC -w8 filesys |tail -n +5 | sed -e "s,^.......,,"  \
  7.   -e "s,[0123456789abcdefABCDEF][0123456789abcdefABCDEF],db(0x&);,g"
  8.